import 'package:flutter/material.dart';
import 'package:my_app/app/widgets/custom_title_widget.dart';
import 'package:my_app/app/widgets/tag/tag_group_widget.dart';
import 'package:my_app/app/widgets/tag/tag_item_widget.dart';

class TagPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('Tag标签')),
      body: ListView(
        padding: EdgeInsets.all(8.0),
        children: [
          CustomTitleWidget(title: '基础使用'),
          SizedBox(height: 8.0),
          TagGroupWidget(
            list: [
              TagItemWidget(label: "标签"),
              TagItemWidget(
                label: "标签",
                color: Color(0xFF03CAC4),
              ),
              TagItemWidget(
                label: "标签",
                color: Color(0xFFFF6F00),
              ),
              TagItemWidget(
                label: "标签",
                color: Color(0xFFFC564B),
              ),
              TagItemWidget(
                label: "标签",
                color: Color(0xFF7D65FD),
              ),
              TagItemWidget(
                label: "标签",
                color: Color(0xFF5087F9),
              ),
              TagItemWidget(
                label: "标签",
                color: Color(0xFF00B761),
              ),
            ],
          )
        ],
      ),
    );
  }
}
